<%@ page import="jakarta.servlet.http.HttpSession" %><%--
  Created by IntelliJ IDEA.
  User: Damon
  Date: 2021/4/23
  Time: 22:54
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户界面报名</title>
</head>
<body>
</body>
<%HttpSession httpSession= request.getSession();%>
<form action="addServlet" method="post">
    <div id="box" style="height:200px;width:300px;margin: auto;text-align: center">
        <h3>报名</h3>
        学号：<input type="text" name="uNum" value="<%=(String)httpSession.getAttribute("num")%>"/><br/>
        名字：<input type="text" name="uName" value="<%=(String)httpSession.getAttribute("name")%>"/><br/>
        密码：<input type="password" name="uPwd" value="<%=(String)httpSession.getAttribute("pwd")%>"/><br/>
        性别：&nbsp;<input type="text" name="uSex" value="<%=(String)httpSession.getAttribute("sex")%>"/><br/>
        年级：<input type="text" name="uGrade" value="<%=(String)httpSession.getAttribute("grade")%>"/><br/>
        专业：<input type="text" name="uMajor" value="<%=(String)httpSession.getAttribute("major")%>"/><br/>
        电话：<input type="text" name="uNumber"/><br/>
        方向：
        <input type="radio" name="uDirection" value="前端"/>前端&nbsp;
        <input type="radio" name="uDirection" value="后台"/>后台<br/>
        技能：<input type="text" name="uSkill"/><br/>
        自我介绍：<input type="text" name="uSelf"/><br/>
        &nbsp;&nbsp;&nbsp;<input type="submit" value="报名">&nbsp;&nbsp;&nbsp;
        <input type="reset" value="重置"><br/><br/>

    </div>
</form>
  </body>
</html>
